<template>
	<a-row type="flex" justify="space-between">
		<div>
			<a-button type="primary" :style='{marginRight:"15px"}' @click='toolAddBtn' >
			<a-icon type="plus" /> 添加
			</a-button>
			 <a-button type="danger"  @click='toolDels' >
				 <a-icon type="delete" />
			      批量删除
			  </a-button>
		</div>
			<a-col :span='5' >
				<a-input-search
				      placeholder="请输入用户名"
				      enter-button="查询"
				      size="default"
				      @search="toolSearch"
				    />
			</a-col>
			
	</a-row>
</template>

<script>
	export default{
		
		methods:{
			toolAddBtn(){
				this.$emit('toolAddBtn');
			},
			toolDels(){
				this.$emit('toolDels');
			},
			toolSearch(value){
				this.$emit('toolSearch',value);
			}
		}
		
		
	}
	
	
	
</script>

<style>
</style>
